/**
 * Copyright (c) 2012-2017 TypeFox GmbH and itemis AG.
 * This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License 2.0
 * which is available at https://www.eclipse.org/legal/epl-2.0/
 * 
 * SPDX-License-Identifier: EPL-2.0
 * 
 * Contributors:
 *   Moritz Eysholdt - Initial contribution and API
 */
package org.eclipse.xpect.tests.state;

import org.eclipse.xpect.state.Creates;

public class MultiConstructor {
	private final String value;

	public MultiConstructor(CharSequence i) {
		this.value = i.toString();
	}

	public MultiConstructor() {
		this.value = "default";
	}

	public MultiConstructor(String value) {
		this.value = value;
	}

	@Creates
	public Object get() {
		return value;
	}
}
